#include "widget.h"
#include "ui_widget.h"
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    QVBoxLayout* layout = new QVBoxLayout (this);
    this->setLayout(layout);

    QPushButton* button1 = new QPushButton("button1");
    QPushButton* button2 = new QPushButton("button1");
    QPushButton* button3 = new QPushButton("button1");

    layout->addWidget(button1);
    layout->addWidget(button2);
    layout->addWidget(button3);
}

Widget::~Widget()
{
    delete ui;
}

